﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;
using System.Data;

namespace OracleDAL.StatSheme
{
   public  class detailScheme
    {
       public DataSet getDs(string sql)
       {
           return DBUtility.OracleHelper.Query(sql.ToString());
       }
       public string getValue(string sql)
       {
           string str = "";
           OracleDataReader dr = DBUtility.OracleHelper.ExecuteReader(sql);

           if (dr.Read())
           {
               str = dr["temp"].ToString();
           }
           dr.Close();
           return str;
       }
    }
}
